- Rotate a credential's secret
List credentials
Create a credential
Get a credential
Rename a credential
Delete a credential
Rotate a credential's sec...
Issues a new client secret for the credential and returns it with the credential, the token URL and the audience. The secret is shown once: Talli does not store it. The previous secret stops working, and access tokens already issued keep working until they expire. A credential can rotate its own secret. A call with the token of a credential that no longer exists gets 403 with error code CALLER_CREDENTIAL_NOT_FOUND. Returns 404 when the organization has no credential with this client ID, and 502 when the rotation failed or could not be confirmed. After a 502 or any other 5xx, call again: the previous secret may already have stopped working.
Security
oauth2(Required scopes: credentials:manage)
- Mock serverhttps://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/credentials/{clientId}/:rotate-secret
curl -i -X POST \
'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/credentials/{clientId}/:rotate-secret' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "clientId": "string", "name": "string", "scopesPreset": "FullAccess", "scopes": [ "string" ], "createdOn": "2019-08-24T14:15:22Z", "updatedOn": "2019-08-24T14:15:22Z", "secretRotatedOn": "2019-08-24T14:15:22Z", "clientSecret": "string", "tokenUrl": "string", "audience": "string" }